const mongoose=require("mongoose")
const roleschema=new mongoose.Schema({
    roleName:String,
    roleCreateTime:{
        type:Date,
        default:Date.now
    },
    authorName:{
        type:String
    },
    authorCreateTime:{
        type:Date
    },
    menus:{
        type:Array,
        default: []
    }
})
module.exports=mongoose.model("role",roleschema);